﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 原型模式简历04深拷贝
{
    class Program
    {
        static void Main(string[] args)
        {
            Resume a = new Resume("大鸟");
            a.SetPersonInfo("男", "29");
            a.SetWorkExperience("1998-2000", "XX公司");
            a.Display();

            Resume b = (Resume)a.Clone();
            b.Display();
            b.SetPersonInfo("男", "30+");
            b.SetWorkExperience("2000-2002", "YY公司");

            a.Display();
            b.Display();
        }
    }
}
